import { SET_ARTICLES } from '../actionTypes'

const initState = {} // 初始频道数据
export default function article (state = initState, { type, payload }) {
  console.log(type, payload)
  if (type === SET_ARTICLES) {
    return payload
  }
  return state
}
